package org.sixdog.mcsit.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.sixdog.mcsit.po.Problem;

import java.util.List;

@Mapper
public interface ProblemDao {
    Problem selectProblemByProblemId(String problemId);
    List<Problem> selectProblems(@Param("problem")Problem problem, @Param("pageStart")int pageStart, @Param("pageSize")int pageSize);
}
